package cn.smbms.service.bill;

import java.util.List;

import cn.smbms.pojo.Bill;

public interface BillService {
    /**
     * 增加订单
     * @param bill
     * @return
     */
    public boolean add(Bill bill)throws Exception;


    /**
     * 通过条件获取订单列表-模糊查询-billList
     * @return
     */
    public List<Bill> getBillList(String productName,int providerId,int isPayment,int currentPageNo, int pageSize)throws Exception;

    /**
     * 通过billId删除Bill
     * @param id
     * @return
     */
    public boolean deleteBillById(int id)throws Exception;


    /**
     * 通过billId获取Bill
     * @param id
     * @return
     */
    public Bill getBillById(int id)throws Exception;

    /**
     * 修改订单信息
     * @param bill
     * @return
     */
    public boolean modify(Bill bill)throws Exception;


    public int getBillCount(String productName,int providerId,int isPayment)throws Exception;




}
